<template>
    <div class="group-control-container">
        <div class="sidebar">
            <ul>
                <li>
                    <router-link to="/admin/group-control/overview">概览</router-link>
                </li>
                <li>
                    <router-link to="/admin/group-control/messages">消息管理</router-link>
                </li>
                <li>
                    <router-link to="/admin/group-control/filter">敏感词过滤</router-link>
                </li>
                <li>
                    <router-link to="/admin/group-control/verification">入群验证</router-link>
                </li>
            </ul>
        </div>
        <div class="content">
            <router-view></router-view>
        </div>
    </div>
</template>

<script>
export default {
    name: 'GroupControl',
    data() {
        return {}
    }
}
</script>

<style scoped>
.group-control-container {
    display: flex;
    height: 100%;
}

.sidebar {
    width: 200px;
    background-color: #f0f2f5;
    padding: 20px 0;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    padding: 10px 20px;
}

.sidebar a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    display: block;
}

.sidebar a.router-link-active {
    color: #1890ff;
    font-weight: 500;
}

.content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}
</style>